/*
 * @Author: zhangdong 354266323@qq.com
 * @Date: 2022-06-07 16:56:53
 * @LastEditors: zhangdong 354266323@qq.com
 * @LastEditTime: 2022-06-20 08:28:45
 * @FilePath: \logistics-sunshine-unattended-app\vue.config.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
module.exports = {
  // 配置路径别名
  configureWebpack: {
    devServer: {
      // disableHostCheck: true
      proxy: {
        '/': {
          // target:'http://192.168.8.112/hm-sunshine-dev/api',
          // target: 'https://www.tzszxx.com/sunshine',
          target: 'https://lygwl.tzszxx.com/prod/api',
          pathRewrite: {
            '^/api': ''
          }
        }

      }
    }
  },

}
